import { SetMetadata } from '@nestjs/common';
import { DECORATOR } from 'src/constants';

export const Permissions = (...permissions: string[]) =>
  SetMetadata(DECORATOR.PERMISSIONS_KEY, permissions);
